import request from '@/utils/request'

// 查询活动分享记录列表
export function listActivityShareLog(query) {
  return request({
    url: '/activityShareLog/activityShareLog/list',
    method: 'get',
    params: query
  })
}

// 查询活动分享记录详细
export function getActivityShareLog(id) {
  return request({
    url: '/activityShareLog/activityShareLog/' + id,
    method: 'get'
  })
}

// 新增活动分享记录
export function addActivityShareLog(data) {
  return request({
    url: '/activityShareLog/activityShareLog',
    method: 'post',
    data: data
  })
}

// 修改活动分享记录
export function updateActivityShareLog(data) {
  return request({
    url: '/activityShareLog/activityShareLog',
    method: 'put',
    data: data
  })
}

// 删除活动分享记录
export function delActivityShareLog(id) {
  return request({
    url: '/activityShareLog/activityShareLog/' + id,
    method: 'delete'
  })
}
